package com.situ.stl.service;

import com.github.pagehelper.PageInfo;
import com.situ.stl.entity.Course;
import com.situ.stl.vo.CourseVo;

import java.util.List;

public interface CourseService {
    List<CourseVo> select(Course course);

    PageInfo searchByPage(Integer page, Integer limit, Course course);
    PageInfo searchByPage1(Integer page, Integer limit, Course course);
    int addCourse(Course course) throws Exception;

    int deleteCourse(Integer id) throws Exception;

    int modifyCourse(Course course);

    List<String> getAllPhoto();
}
